[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: > replaced by ">", < is not replaced...
This sounds all very logical. I think option 5 is the best way to go atin the output, ">" become a ">". This is not what I want. Not because of visualization in an HTML client, but because I have to be able to map the output of the XLS back to some original input which contains the ">", " ", etc. I basically just want to keep the character encodings from the input in the output. this point. However, I am not sure how to go about doing such a comparison. My situation is as follows: My user selects a subset of the original XML file. After this action I need to compare the selection of the user to the original. Once I find the location of the selection inside the original I have to surround this selection with a new tag, say "<selection>", and "</selection>". I have placed an example of text online at http://www.jborsje.nl/example.txt, so you can see what I mean. One way I can think of is iterating over all of the elements of the original, each time calling the "deep-equal()" function, but I do not know if that is the best approach. Thank you very much for you time and help. -- Best regards, Jethro Borsje http://www.jborsje.nl
|
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
|