Click here to Skip to main content
15,894,540 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionXSLT help Pin
Aljaz11124-Mar-10 4:39
Aljaz11124-Mar-10 4:39 
AnswerRe: XSLT help Pin
PIEBALDconsult24-Mar-10 5:04
mvePIEBALDconsult24-Mar-10 5:04 
GeneralRe: XSLT help Pin
Aljaz11124-Mar-10 5:13
Aljaz11124-Mar-10 5:13 
QuestionSerializing a complex object to XML [modified] Pin
CDP180222-Mar-10 22:39
CDP180222-Mar-10 22:39 
Questionbuild one xml element with few childs Pin
Aljaz11122-Mar-10 16:04
Aljaz11122-Mar-10 16:04 
QuestionXQUERY fn:replace() inserting spaces? Pin
tom_masciovecchio12-Mar-10 10:17
tom_masciovecchio12-Mar-10 10:17 
Questionnew to xml..please help.. Pin
A-MEN12-Mar-10 9:11
A-MEN12-Mar-10 9:11 
AnswerRe: new to xml..please help.. Pin
SeMartens18-Mar-10 21:36
SeMartens18-Mar-10 21:36 
Hi,

you have to change the root of your schema file to

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mynamespace/mydetails">


This will define the xs prefix and the namespace you want to create.

Within your xml file you have to put a reference to the schema by changing the root to this:

<details xmlns="http://mynamespace/mydetails">


Here the namespace is imported without a prefix. But pay attention if you need to validate the xml (if it is valid according to the schema). The reference will be resolved by a DefaultResolver. This one will not find the schema file until you give it a hint.

Simple code to validate an XML file against a schema file (XSD)[^]

Regards
Sebastian
It's not a bug, it's a feature!

Check out my CodeProject article Permission-by-aspect.

Me in Softwareland.

AnswerRe: How to convert portlet into gadget Pin
Not Active12-Mar-10 4:32
mentorNot Active12-Mar-10 4:32 
QuestionHelp Finding Content Pin
jammmie9996-Mar-10 4:16
professionaljammmie9996-Mar-10 4:16 
AnswerRe: Help Finding Content Pin
Stuart Dootson6-Mar-10 5:06
professionalStuart Dootson6-Mar-10 5:06 
GeneralRe: Help Finding Content Pin
jammmie9996-Mar-10 6:17
professionaljammmie9996-Mar-10 6:17 
NewsBuilding Web 2.0 UIs with JSF, Realtime Updates with JSF and Ajax Push Taught at GIDS 2010 Pin
Shaguf Mohtisham3-Mar-10 20:31
Shaguf Mohtisham3-Mar-10 20:31 
QuestionVS2005 doesn't like my XML Schema Pin
gritter3-Mar-10 5:10
gritter3-Mar-10 5:10 
AnswerRe: VS2005 doesn't like my XML Schema Pin
gritter3-Mar-10 6:41
gritter3-Mar-10 6:41 
AnswerRe: VS2005 doesn't like my XML Schema Pin
Stuart Dootson6-Mar-10 4:58
professionalStuart Dootson6-Mar-10 4:58 
GeneralRe: xml code editor Pin
Covean2-Mar-10 22:21
Covean2-Mar-10 22:21 
QuestionMultiple children in Node question Pin
RCoate1-Mar-10 20:04
RCoate1-Mar-10 20:04 
AnswerRe: Multiple children in Node question Pin
Stuart Dootson1-Mar-10 21:02
professionalStuart Dootson1-Mar-10 21:02 
GeneralRe: Multiple children in Node question Pin
RCoate1-Mar-10 21:56
RCoate1-Mar-10 21:56 
GeneralRe: Multiple children in Node question Pin
Stuart Dootson1-Mar-10 22:04
professionalStuart Dootson1-Mar-10 22:04 
GeneralRe: Multiple children in Node question Pin
RCoate2-Mar-10 11:16
RCoate2-Mar-10 11:16 
AnswerRe: Multiple children in Node question Pin
RCoate2-Mar-10 19:35
RCoate2-Mar-10 19:35 
GeneralRe: Multiple children in Node question Pin
Stuart Dootson2-Mar-10 21:46
professionalStuart Dootson2-Mar-10 21:46 
QuestionHow to de-batch very large XMLDocument into bit size chunks Pin
ONeil Tomlinson28-Feb-10 7:39
ONeil Tomlinson28-Feb-10 7:39 

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.