Click here to Skip to main content
15,912,207 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XMLNS issues with XSL transformation. Pin
Domenic Denicola18-Jun-02 10:21
Domenic Denicola18-Jun-02 10:21 
GeneralEmbed JavaScript into XSL Pin
Julz31-May-02 4:20
Julz31-May-02 4:20 
GeneralRe: Embed JavaScript into XSL Pin
Erik Westermann31-May-02 8:54
professionalErik Westermann31-May-02 8:54 
GeneralRe: Embed JavaScript into XSL Pin
Julz3-Jun-02 3:21
Julz3-Jun-02 3:21 
GeneralHandling same element with different types. Pin
nay24-May-02 9:02
nay24-May-02 9:02 
GeneralRe: Handling same element with different types. Pin
Michael A. Barnhart24-May-02 10:34
Michael A. Barnhart24-May-02 10:34 
GeneralTwo questions Pin
Richard Deeming20-May-02 1:57
mveRichard Deeming20-May-02 1:57 
GeneralRe: Two questions Pin
Erik Westermann21-May-02 17:19
professionalErik Westermann21-May-02 17:19 
Richard_D wrote:
Insert special characters with the DOM

There's something wrong on your system since XML supports Unicode characters. Make sure that your system supports the unicode characters you're inserting into the document. Assuming that you read the document into an editor to see the '?' marks in place of your unicode characters, make sure that the editor you use supports unicode files - Notepad on Windows 9x does not support Unicode whereas Notepad on Windows 2000 and XP supports it. If you're using 9x, open the file using something like XML Spy, which supports Unicode directly.

Richard_D wrote:
Query the default namespace with XPath

You've run into a very common problem with XPath 1.0. The specification is very confusing with regards to how vendors should handle the default namespace; as a result, vendors implement it differenly. The next incarnation of XPath is epxected address the problem.

In the mean time, your best option is to use a prefix as you did in your message's second listing. I suggest that you try to stick to that method since Microsoft could change their mind and cause your app to break when the next incarnation of XPath becomes a standard. Using namespace prefixes takes advantage of a standard, whereas the method you use (using the XMLNamespaceManager) is specific to Microsoft's XML parser and may not work in the future based on the direction of the wind and the state of evolving standards.



Essam - Author, JScript .NET Programming

...and a bunch of articles around the Web
GeneralRe: Two questions Pin
Richard Deeming21-May-02 22:32
mveRichard Deeming21-May-02 22:32 
GeneralCompare XML files Pin
16-May-02 19:51
suss16-May-02 19:51 
GeneralRe: Compare XML files Pin
Mike.NET17-May-02 13:45
Mike.NET17-May-02 13:45 
GeneralRe: Compare XML files Pin
Sebastian Weber6-Jun-02 6:18
Sebastian Weber6-Jun-02 6:18 
Generaldynamic display of image from XML source Pin
16-May-02 4:23
suss16-May-02 4:23 
GeneralRe: dynamic display of image from XML source Pin
Christopher Lord23-Jun-02 8:08
Christopher Lord23-Jun-02 8:08 
GeneralRe: dynamic display of image from XML source Pin
jkgh24-Jun-02 0:46
jkgh24-Jun-02 0:46 
GeneralSpace in XML Pin
Hitu14-May-02 18:33
Hitu14-May-02 18:33 
GeneralRe: Space in XML Pin
MS le Roux14-May-02 20:19
MS le Roux14-May-02 20:19 
GeneralRe: Space in XML Pin
Not Active15-May-02 6:13
mentorNot Active15-May-02 6:13 
GeneralRe: Space in XML Pin
Michael A. Barnhart15-May-02 14:06
Michael A. Barnhart15-May-02 14:06 
GeneralTypes in Schema Pin
Jamie Nordmeyer14-May-02 11:03
Jamie Nordmeyer14-May-02 11:03 
GeneralRe: Types in Schema Pin
Michael A. Barnhart14-May-02 16:53
Michael A. Barnhart14-May-02 16:53 
GeneralRe: Types in Schema Pin
Jamie Nordmeyer15-May-02 5:37
Jamie Nordmeyer15-May-02 5:37 
GeneralRe: Types in Schema Pin
Michael A. Barnhart15-May-02 13:53
Michael A. Barnhart15-May-02 13:53 
GeneralNewbie needs help with a schema. Pin
nay10-May-02 10:10
nay10-May-02 10:10 
GeneralRe: Newbie needs help with a schema. Pin
Michael A. Barnhart11-May-02 0:41
Michael A. Barnhart11-May-02 0:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.