jkmyoung, I really appreciate your help.I tried your suggestion,but I still cant get what I want. I dont know what I'm doing wrong.here's the stylesheet and it's transformation
<?xml version="1.0"?>
<xsl:styleshe et version ="1.0" xmlns:xsl="http ://www.w3.org/1999/XSL/Transform"
xmlns:m="http://www.blah/blah">
<xsl:output method="xml" version="1.0"...
User Profile
Collapse
-
Well thanks for the reply. I tried it and it didn't work. I think I wasn't too clear on my question, so I'll explain a little more.
I'm transforming one xml document into another, the root element in the old doc looks something like
<root xmlns = "http://www.blah/blah">
<element1>
<subelem>hell o</subelem>
<subelem2>there </subelem2>...Leave a comment:
-
how to include attribute in XML tag
I'm transforming one xml document to another using a stylesheet.
1.) I would like to know how to include an attribute with a value in a tag, eg. how do I transform
<tag1>hey</tag1> to
<tag1 value1 ="1" value2="text">h ey</tag1>
2.)the root tag of the xml document i'm transforming has an attribute.how do I instruct the XSL to retrieve data from a child of this tag... -
another transformation que
Hi everyone,
I also have some transformation issues.I've received good answers from my previous posts and I'm someone would help me with this one too.How do I transform:
<root min="1">
<limit sid = "0" mod = "2">
<hd>ID<hd>
</limit>
</root>
to:
<lastroot>
<ld>ID</ld>... -
Help with transformation
I'll be grateful if anyone would help me with this problem.
I am trying to construct a stylesheet to transform one xml to another. for example how do I transform:
<root>
<m1>sassy</m1>
<m2>spiffy</m2>
<sp1>suddenly </sp1>
</root>
To:
<mls>
<hd>sassy</hd>
<hd2>spiffy</hd2>... -
xml to xml transformation
I'm new to xml. I have created a stylesheet to convert an XML document to another XML document.
I included this statement
< xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> in my stylesheet.
when I view the transformation in a browser, what I see doesn't look anything XML, i dont see any of the tags I specified, just the contents. how do I view the...
No activity results to display
Show More
Leave a comment: