|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: getting Not well formed xslt output
> I have one problem like this: > my node is like this: > <ACTION TYPE="accept" LABEL="Next" task="go" DEST="#password" > This isn't a node, it's a tag. Nodes are things in a tree, tags are things in a serialized file. > > For SAXparsing in JAVA I make it well-formed like this: > <ACTION TYPE="accept" LABEL="Next" task="go" DEST="#password" > imtask="20"></ACTION> > > On This code if I apply XSLT I want output like this: > <ACTION TYPE="accept" LABEL="Next" task="go" DEST="20" >(20 > is value of > imtask) XSLT produces a tree as output, and when the tree is serialized, it produces well-formed XML. If you want to produce ill-formed XML (if there is such a thing!) you will either have to write your own serializer, or try to cheat by using disable-output-escaping="yes", writing the "markup" as < and > characters. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








