Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 10, 2012 02:37 AM by Decker Dong - MSFT
0 Points
2 Posts
Mar 08, 2012 08:52 AM|LINK
Hi,
I am new to XSLT. I am currently working on changing one xml pattern to anotehr pattern. I am facing following issues.
ISSUE1.
Current Structure:
<content>
<first>Paragraph-1</first>
<comment>Comment-1</comment>
<first>Paragraph-2</first>
<comment>Comment-2</comment>
<first>Paragraph-3</first>
<comment>Comment-3</comment>
</content>
Target Structure:
<block>
</block>
Issue 2:
Source:
<text>Content<dynamicVariable name="ABCD"/>ZZZZZ</text>
Target:
<aaa>Content ABCD ZZZZ</aaa>
or
<aaa>Content<dynamicVariable name="ABCD"/>ZZZZZ</aaa>
Thank you in advance.
Contributor
3051 Points
714 Posts
Mar 08, 2012 02:51 PM|LINK
Hi muzimilbasha,
First, Welcome to the Forum...
May be this would help you :
http://www.w3schools.com/xml/xml_xsl.asp
http://www.w3schools.com/xml/tryxslt.asp?xmlfile=simple&xsltfile=simple
Try and Let us know about your findings...
All-Star
118619 Points
18779 Posts
Mar 10, 2012 02:37 AM|LINK
Hello muzimilbasha:)
I still cannot understand what you really want……
muzimilbasha
0 Points
2 Posts
XSLT information needed
Mar 08, 2012 08:52 AM|LINK
Hi,
I am new to XSLT. I am currently working on changing one xml pattern to anotehr pattern. I am facing following issues.
ISSUE1.
Current Structure:
<content>
<first>Paragraph-1</first>
<comment>Comment-1</comment>
<first>Paragraph-2</first>
<comment>Comment-2</comment>
<first>Paragraph-3</first>
<comment>Comment-3</comment>
</content>
Target Structure:
<content>
<block>
<first>Paragraph-1</first>
<comment>Comment-1</comment>
</block>
<block>
<first>Paragraph-2</first>
<comment>Comment-2</comment>
</block>
<block>
<first>Paragraph-3</first>
<comment>Comment-3</comment>
</block>
</content>
Issue 2:
Source:
<text>Content<dynamicVariable name="ABCD"/>ZZZZZ</text>
Target:
<aaa>Content ABCD ZZZZ</aaa>
or
<aaa>Content<dynamicVariable name="ABCD"/>ZZZZZ</aaa>
Thank you in advance.
kuber.manral
Contributor
3051 Points
714 Posts
Re: XSLT information needed
Mar 08, 2012 02:51 PM|LINK
Hi muzimilbasha,
First, Welcome to the Forum...
May be this would help you :
http://www.w3schools.com/xml/xml_xsl.asp
http://www.w3schools.com/xml/tryxslt.asp?xmlfile=simple&xsltfile=simple
Try and Let us know about your findings...
Visit My Blog
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: XSLT information needed
Mar 10, 2012 02:37 AM|LINK
Hello muzimilbasha:)
I still cannot understand what you really want……