Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » annotations of schema returning null
annotations of schema returning null [message #70928] Wed, 13 December 2006 13:02 Go to next message
Eclipse UserFriend
Originally posted by: mgonzalez.ibit.org

I have a valid Schema and the following code:

List anotacions = xsdSchema.getAnnotations();
log.info("anotacions" + anotacions.size());

for(Iterator iter= anotacions.iterator() ; iter.hasNext();){
XSDAnnotation anotacio = (XSDAnnotation)iter.next();
log.info("Info aplicació " + anotacio);
}

I have 2 annotations and the "anotacions" + anotacions.size()); prints me
the number 2. Till here

But this log.info("Info aplicació " + anotacio); prints me

(element: [xs:annotation: null]) (applicationInformation: [[xs:appinfo:
null], [xs:appinfo: null]],
userInformation: [[xs:documentation: null] ...)

Why prints me null when the annotation is like this

<xs:annotation>
<xs:appinfo>Instancia</xs:appinfo>
<xs:appinfo>Instancia 2 </xs:appinfo>
<xs:documentation xml:lang="ca">Esquema de la
Instancia</xs:documentation>
</xs:annotation>

thanks a lot.
Re: annotations of schema returning null [message #70947 is a reply to message #70928] Wed, 13 December 2006 13:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Marilen,

I'm not sure what you are expecting from the toString representation of
an XSDAnnotation but it's simply showing the toString presentation of
the DOM element. Use the XSDAnnotation's APIs to access the data and
I'm sure you'll find everything you need is there.


Marilen wrote:
> I have a valid Schema and the following code:
>
> List anotacions = xsdSchema.getAnnotations();
> log.info("anotacions" + anotacions.size());
>
> for(Iterator iter= anotacions.iterator() ; iter.hasNext();){
> XSDAnnotation anotacio = (XSDAnnotation)iter.next();
> log.info("Info aplicació " + anotacio);
> }
>
> I have 2 annotations and the "anotacions" + anotacions.size()); prints
> me the number 2. Till here
> But this log.info("Info aplicació " + anotacio); prints me
> (element: [xs:annotation: null]) (applicationInformation:
> [[xs:appinfo: null], [xs:appinfo: null]],
> userInformation: [[xs:documentation: null] ...)
>
> Why prints me null when the annotation is like this
>
> <xs:annotation>
> <xs:appinfo>Instancia</xs:appinfo>
> <xs:appinfo>Instancia 2 </xs:appinfo>
> <xs:documentation xml:lang="ca">Esquema de la
> Instancia</xs:documentation>
> </xs:annotation>
>
> thanks a lot.
>
Re: annotations of schema returning null [message #71046 is a reply to message #70947] Wed, 03 January 2007 12:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgonzalez.ibit.org

Hello Ed, my idea is to get the text inside the annotation

Example, if I have this annotation

<xs:annotation>
<xs:appinfo>Instancia</xs:appinfo>
<xs:appinfo>Instancia 2 </xs:appinfo>
<xs:documentation xml:lang="ca">Esquema de la
Instancia</xs:documentation>
</xs:annotation>

How can I get the text "Instancia" and "Instancia 2"?

I have tried with

XSDAnnotation anotacio = (XSDAnnotation)iter.next();
List appInfo = anotacio.getApplicationInformation();
log.info(" appInfo" + appInfo.get(0));

and I get this print:

appInfo[xs:appinfo: null]

It is possible to get the text inside <xs:appinfo>??

Thank you.
Re: annotations of schema returning null [message #71066 is a reply to message #70947] Wed, 03 January 2007 12:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mgonzalez.ibit.org

Hello Ed, my idea is to get the text inside the annotation

Example, if I have this annotation

<xs:annotation>
<xs:appinfo>Instancia</xs:appinfo>
<xs:appinfo>Instancia 2 </xs:appinfo>
<xs:documentation xml:lang="ca">Esquema de la
Instancia</xs:documentation>
</xs:annotation>

How can I get the text "Instancia" and "Instancia 2"?

I have tried with

XSDAnnotation anotacio = (XSDAnnotation)iter.next();
List appInfo = anotacio.getApplicationInformation();
log.info(" appInfo" + appInfo.get(0));

and I get this print:

appInfo[xs:appinfo: null]

It is possible to get the text inside <xs:appinfo>??
Re: annotations of schema returning null [message #71308 is a reply to message #71066] Mon, 15 January 2007 18:32 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------070302030406030509040906
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Marilen,

You must use standard DOM APIs to access the children of the appinfo DOM
Element. This code from the XSDEcoreBuilder might help get you started
because it does something similar:

protected void setAnnotations(EModelElement eModelElement,
XSDConcreteComponent xsdComponent)
{
List<XSDAnnotation> xsdAnnotations = new ArrayList<XSDAnnotation>();
List<Element> elements = new ArrayList<Element>();
boolean append = true;

if (xsdComponent instanceof XSDParticle)
{
xsdComponent = ((XSDParticle)xsdComponent).getContent();
}

if (xsdComponent != null)
{
elements.add(xsdComponent.getElement());
}

if (xsdComponent instanceof XSDAttributeDeclaration)
{

xsdAnnotations.add(((XSDAttributeDeclaration)xsdComponent).g etAnnotation());
}
else if (xsdComponent instanceof XSDAttributeUse)
{
XSDAttributeUse xsdAttributeUse = (XSDAttributeUse)xsdComponent;
xsdAnnotations.add(xsdAttributeUse.getContent().getAnnotatio n());
XSDAttributeDeclaration xsdAttributeDeclaration =
xsdAttributeUse.getAttributeDeclaration();
xsdAnnotations.add(xsdAttributeDeclaration.getAnnotation());
elements.add(xsdAttributeDeclaration.getElement());
append = false;
}
else if (xsdComponent instanceof XSDElementDeclaration)
{
XSDElementDeclaration xsdElementDeclaration =
(XSDElementDeclaration)xsdComponent;
xsdAnnotations.add(xsdElementDeclaration.getAnnotation());
if (xsdElementDeclaration.isElementDeclarationReference())
{
XSDElementDeclaration resolvedElementDeclaration =
xsdElementDeclaration.getResolvedElementDeclaration();
xsdAnnotations.add(resolvedElementDeclaration.getAnnotation( ));
elements.add(resolvedElementDeclaration.getElement());
}
append = false;
}
else if (xsdComponent instanceof XSDAttributeGroupDefinition)
{

xsdAnnotations.add(((XSDAttributeGroupDefinition)xsdComponen t).getAnnotation());
}
else if (xsdComponent instanceof XSDFacet)
{
xsdAnnotations.add(((XSDFacet)xsdComponent).getAnnotation()) ;
}
else if (xsdComponent instanceof XSDIdentityConstraintDefinition)
{

xsdAnnotations.add(((XSDIdentityConstraintDefinition)xsdComp onent).getAnnotation());
}
else if (xsdComponent instanceof XSDModelGroup)
{
xsdAnnotations.add(((XSDModelGroup)xsdComponent).getAnnotati on());
}
else if (xsdComponent instanceof XSDModelGroupDefinition)
{

xsdAnnotations.add(((XSDModelGroupDefinition)xsdComponent).g etAnnotation());
}
else if (xsdComponent instanceof XSDSchema)
{
xsdAnnotations.addAll(((XSDSchema)xsdComponent).getAnnotatio ns());
}
else if (xsdComponent instanceof XSDTypeDefinition)
{

xsdAnnotations.addAll(((XSDTypeDefinition)xsdComponent).getA nnotations());
}
else if (xsdComponent instanceof XSDWildcard)
{
xsdAnnotations.add(((XSDWildcard)xsdComponent).getAnnotation ());
}

boolean first = true;
for (XSDAnnotation xsdAnnotation : xsdAnnotations)
{
if (xsdAnnotation != null &&
!"true".equals(getEcoreAttribute(xsdAnnotation, "ignore")))
{
for (Element element : xsdAnnotation.getUserInformation())
{
if (!"true".equals(getEcoreAttribute(element, "ignore"))
&& !ignore(element))
{
ByteArrayOutputStream byteArrayOutputStream = new
ByteArrayOutputStream();
XSDResourceImpl.serialize(byteArrayOutputStream,
element, "UTF-8");
try
{
String documentation =
byteArrayOutputStream.toString("UTF8");
int start = documentation.indexOf("?>");
start = documentation.indexOf(">", start + 2);
int end = documentation.lastIndexOf("</");
String documentationBody = end == -1 ? null :
documentation.substring(start + 1, end);
String existingDocumentation =
EcoreUtil.getDocumentation(eModelElement);
if (existingDocumentation != null)
{
if (!first && !append)
{
continue;
}
documentationBody = existingDocumentation +
System.getProperty("line.separator") + documentationBody;
}
EcoreUtil.setDocumentation(eModelElement,
documentationBody);
}
catch (UnsupportedEncodingException exception)
{
throw new WrappedException(exception);
}
}
}

for (Element element :
xsdAnnotation.getApplicationInformation())
{
if (!"true".equals(getEcoreAttribute(element, "ignore"))
&& !ignore(element))
{
String sourceURI = element.hasAttributeNS(null,
"source") ? element.getAttributeNS(null, "source") : null;
ByteArrayOutputStream byteArrayOutputStream = new
ByteArrayOutputStream();
XSDResourceImpl.serialize(byteArrayOutputStream,
element, "UTF-8");
try
{
String applicationInformation =
byteArrayOutputStream.toString("UTF8");
int start = applicationInformation.indexOf("?>");
start = applicationInformation.indexOf(">", start + 2);
int end = applicationInformation.lastIndexOf("</");
String applicationInformationBody = end == -1 ? null :
applicationInformation.substring(start + 1, end);

String key = getEcoreAttribute(element, "key");
if (key == null)
{
key = "appinfo";
}
EAnnotation eAnnotation =
eModelElement.getEAnnotation(sourceURI);
String existingApplicationInformation =
eAnnotation == null ?
null :
(String)eAnnotation.getDetails().get(key);

if (existingApplicationInformation != null)
{
if (!first && !append)
{
continue;
}
applicationInformationBody =
existingApplicationInformation +
System.getProperty("line.separator") + applicationInformationBody;
}

if (eAnnotation == null)
{
eAnnotation =
EcoreFactory.eINSTANCE.createEAnnotation();
eAnnotation.setSource(sourceURI);
eModelElement.getEAnnotations().add(eAnnotation);
}

eAnnotation.getDetails().put(key,
applicationInformationBody);
}
catch (UnsupportedEncodingException exception)
{
throw new WrappedException(exception);
}
}
}
}
first = false;
}

first = true;
for (Element element : elements)
{
if (element != null)
{
NamedNodeMap attributes = element.getAttributes();
for (int j = 0, length = attributes.getLength(); j < length;
++j)
{
Attr attribute = (Attr)attributes.item(j);
if (!ignore(attribute))
{
String sourceURI = attribute.getNamespaceURI();
EAnnotation eAnnotation =
eModelElement.getEAnnotation(sourceURI);
if (eAnnotation == null)
{
eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
eAnnotation.setSource(sourceURI);
eModelElement.getEAnnotations().add(eAnnotation);
}
if (first || append ||
eAnnotation.getDetails().get(attribute.getLocalName()) == null)
{
eAnnotation.getDetails().put(attribute.getLocalName(),
attribute.getValue());
}
}
}
}
first = false;
}
}



Marilen wrote:
> Hello Ed, my idea is to get the text inside the annotation
>
> Example, if I have this annotation
>
> <xs:annotation>
> <xs:appinfo>Instancia</xs:appinfo>
> <xs:appinfo>Instancia 2 </xs:appinfo>
> <xs:documentation xml:lang="ca">Esquema de la
> Instancia</xs:documentation>
> </xs:annotation>
>
> How can I get the text "Instancia" and "Instancia 2"?
>
> I have tried with
> XSDAnnotation anotacio = (XSDAnnotation)iter.next();
> List appInfo = anotacio.getApplicationInformation();
> log.info(" appInfo" + appInfo.get(0));
>
> and I get this print:
>
> appInfo[xs:appinfo: null]
>
> It is possible to get the text inside <xs:appinfo>??
>
>


--------------070302030406030509040906
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Marilen,<br>
<br>
You must use standard DOM APIs to access the children of the appinfo
DOM Element.
Re: annotations of schema returning null [message #599258 is a reply to message #70928] Wed, 13 December 2006 13:13 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Marilen,

I'm not sure what you are expecting from the toString representation of
an XSDAnnotation but it's simply showing the toString presentation of
the DOM element. Use the XSDAnnotation's APIs to access the data and
I'm sure you'll find everything you need is there.


Marilen wrote:
> I have a valid Schema and the following code:
>
> List anotacions = xsdSchema.getAnnotations();
> log.info("anotacions" + anotacions.size());
>
> for(Iterator iter= anotacions.iterator() ; iter.hasNext();){
> XSDAnnotation anotacio = (XSDAnnotation)iter.next();
> log.info("Info aplicació " + anotacio);
> }
>
> I have 2 annotations and the "anotacions" + anotacions.size()); prints
> me the number 2. Till here
> But this log.info("Info aplicació " + anotacio); prints me
> (element: [xs:annotation: null]) (applicationInformation:
> [[xs:appinfo: null], [xs:appinfo: null]],
> userInformation: [[xs:documentation: null] ...)
>
> Why prints me null when the annotation is like this
>
> <xs:annotation>
> <xs:appinfo>Instancia</xs:appinfo>
> <xs:appinfo>Instancia 2 </xs:appinfo>
> <xs:documentation xml:lang="ca">Esquema de la
> Instancia</xs:documentation>
> </xs:annotation>
>
> thanks a lot.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: annotations of schema returning null [message #599314 is a reply to message #70947] Wed, 03 January 2007 12:08 Go to previous message
Eclipse UserFriend
Originally posted by: mgonzalez.ibit.org

Hello Ed, my idea is to get the text inside the annotation

Example, if I have this annotation

<xs:annotation>
<xs:appinfo>Instancia</xs:appinfo>
<xs:appinfo>Instancia 2 </xs:appinfo>
<xs:documentation xml:lang="ca">Esquema de la
Instancia</xs:documentation>
</xs:annotation>

How can I get the text "Instancia" and "Instancia 2"?

I have tried with

XSDAnnotation anotacio = (XSDAnnotation)iter.next();
List appInfo = anotacio.getApplicationInformation();
log.info(" appInfo" + appInfo.get(0));

and I get this print:

appInfo[xs:appinfo: null]

It is possible to get the text inside <xs:appinfo>??

Thank you.
Re: annotations of schema returning null [message #599326 is a reply to message #70947] Wed, 03 January 2007 12:12 Go to previous message
Eclipse UserFriend
Originally posted by: mgonzalez.ibit.org

Hello Ed, my idea is to get the text inside the annotation

Example, if I have this annotation

<xs:annotation>
<xs:appinfo>Instancia</xs:appinfo>
<xs:appinfo>Instancia 2 </xs:appinfo>
<xs:documentation xml:lang="ca">Esquema de la
Instancia</xs:documentation>
</xs:annotation>

How can I get the text "Instancia" and "Instancia 2"?

I have tried with

XSDAnnotation anotacio = (XSDAnnotation)iter.next();
List appInfo = anotacio.getApplicationInformation();
log.info(" appInfo" + appInfo.get(0));

and I get this print:

appInfo[xs:appinfo: null]

It is possible to get the text inside <xs:appinfo>??
Re: annotations of schema returning null [message #599448 is a reply to message #71066] Mon, 15 January 2007 18:32 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------070302030406030509040906
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Marilen,

You must use standard DOM APIs to access the children of the appinfo DOM
Element. This code from the XSDEcoreBuilder might help get you started
because it does something similar:

protected void setAnnotations(EModelElement eModelElement,
XSDConcreteComponent xsdComponent)
{
List<XSDAnnotation> xsdAnnotations = new ArrayList<XSDAnnotation>();
List<Element> elements = new ArrayList<Element>();
boolean append = true;

if (xsdComponent instanceof XSDParticle)
{
xsdComponent = ((XSDParticle)xsdComponent).getContent();
}

if (xsdComponent != null)
{
elements.add(xsdComponent.getElement());
}

if (xsdComponent instanceof XSDAttributeDeclaration)
{

xsdAnnotations.add(((XSDAttributeDeclaration)xsdComponent).g etAnnotation());
}
else if (xsdComponent instanceof XSDAttributeUse)
{
XSDAttributeUse xsdAttributeUse = (XSDAttributeUse)xsdComponent;
xsdAnnotations.add(xsdAttributeUse.getContent().getAnnotatio n());
XSDAttributeDeclaration xsdAttributeDeclaration =
xsdAttributeUse.getAttributeDeclaration();
xsdAnnotations.add(xsdAttributeDeclaration.getAnnotation());
elements.add(xsdAttributeDeclaration.getElement());
append = false;
}
else if (xsdComponent instanceof XSDElementDeclaration)
{
XSDElementDeclaration xsdElementDeclaration =
(XSDElementDeclaration)xsdComponent;
xsdAnnotations.add(xsdElementDeclaration.getAnnotation());
if (xsdElementDeclaration.isElementDeclarationReference())
{
XSDElementDeclaration resolvedElementDeclaration =
xsdElementDeclaration.getResolvedElementDeclaration();
xsdAnnotations.add(resolvedElementDeclaration.getAnnotation( ));
elements.add(resolvedElementDeclaration.getElement());
}
append = false;
}
else if (xsdComponent instanceof XSDAttributeGroupDefinition)
{

xsdAnnotations.add(((XSDAttributeGroupDefinition)xsdComponen t).getAnnotation());
}
else if (xsdComponent instanceof XSDFacet)
{
xsdAnnotations.add(((XSDFacet)xsdComponent).getAnnotation()) ;
}
else if (xsdComponent instanceof XSDIdentityConstraintDefinition)
{

xsdAnnotations.add(((XSDIdentityConstraintDefinition)xsdComp onent).getAnnotation());
}
else if (xsdComponent instanceof XSDModelGroup)
{
xsdAnnotations.add(((XSDModelGroup)xsdComponent).getAnnotati on());
}
else if (xsdComponent instanceof XSDModelGroupDefinition)
{

xsdAnnotations.add(((XSDModelGroupDefinition)xsdComponent).g etAnnotation());
}
else if (xsdComponent instanceof XSDSchema)
{
xsdAnnotations.addAll(((XSDSchema)xsdComponent).getAnnotatio ns());
}
else if (xsdComponent instanceof XSDTypeDefinition)
{

xsdAnnotations.addAll(((XSDTypeDefinition)xsdComponent).getA nnotations());
}
else if (xsdComponent instanceof XSDWildcard)
{
xsdAnnotations.add(((XSDWildcard)xsdComponent).getAnnotation ());
}

boolean first = true;
for (XSDAnnotation xsdAnnotation : xsdAnnotations)
{
if (xsdAnnotation != null &&
!"true".equals(getEcoreAttribute(xsdAnnotation, "ignore")))
{
for (Element element : xsdAnnotation.getUserInformation())
{
if (!"true".equals(getEcoreAttribute(element, "ignore"))
&& !ignore(element))
{
ByteArrayOutputStream byteArrayOutputStream = new
ByteArrayOutputStream();
XSDResourceImpl.serialize(byteArrayOutputStream,
element, "UTF-8");
try
{
String documentation =
byteArrayOutputStream.toString("UTF8");
int start = documentation.indexOf("?>");
start = documentation.indexOf(">", start + 2);
int end = documentation.lastIndexOf("</");
String documentationBody = end == -1 ? null :
documentation.substring(start + 1, end);
String existingDocumentation =
EcoreUtil.getDocumentation(eModelElement);
if (existingDocumentation != null)
{
if (!first && !append)
{
continue;
}
documentationBody = existingDocumentation +
System.getProperty("line.separator") + documentationBody;
}
EcoreUtil.setDocumentation(eModelElement,
documentationBody);
}
catch (UnsupportedEncodingException exception)
{
throw new WrappedException(exception);
}
}
}

for (Element element :
xsdAnnotation.getApplicationInformation())
{
if (!"true".equals(getEcoreAttribute(element, "ignore"))
&& !ignore(element))
{
String sourceURI = element.hasAttributeNS(null,
"source") ? element.getAttributeNS(null, "source") : null;
ByteArrayOutputStream byteArrayOutputStream = new
ByteArrayOutputStream();
XSDResourceImpl.serialize(byteArrayOutputStream,
element, "UTF-8");
try
{
String applicationInformation =
byteArrayOutputStream.toString("UTF8");
int start = applicationInformation.indexOf("?>");
start = applicationInformation.indexOf(">", start + 2);
int end = applicationInformation.lastIndexOf("</");
String applicationInformationBody = end == -1 ? null :
applicationInformation.substring(start + 1, end);

String key = getEcoreAttribute(element, "key");
if (key == null)
{
key = "appinfo";
}
EAnnotation eAnnotation =
eModelElement.getEAnnotation(sourceURI);
String existingApplicationInformation =
eAnnotation == null ?
null :
(String)eAnnotation.getDetails().get(key);

if (existingApplicationInformation != null)
{
if (!first && !append)
{
continue;
}
applicationInformationBody =
existingApplicationInformation +
System.getProperty("line.separator") + applicationInformationBody;
}

if (eAnnotation == null)
{
eAnnotation =
EcoreFactory.eINSTANCE.createEAnnotation();
eAnnotation.setSource(sourceURI);
eModelElement.getEAnnotations().add(eAnnotation);
}

eAnnotation.getDetails().put(key,
applicationInformationBody);
}
catch (UnsupportedEncodingException exception)
{
throw new WrappedException(exception);
}
}
}
}
first = false;
}

first = true;
for (Element element : elements)
{
if (element != null)
{
NamedNodeMap attributes = element.getAttributes();
for (int j = 0, length = attributes.getLength(); j < length;
++j)
{
Attr attribute = (Attr)attributes.item(j);
if (!ignore(attribute))
{
String sourceURI = attribute.getNamespaceURI();
EAnnotation eAnnotation =
eModelElement.getEAnnotation(sourceURI);
if (eAnnotation == null)
{
eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
eAnnotation.setSource(sourceURI);
eModelElement.getEAnnotations().add(eAnnotation);
}
if (first || append ||
eAnnotation.getDetails().get(attribute.getLocalName()) == null)
{
eAnnotation.getDetails().put(attribute.getLocalName(),
attribute.getValue());
}
}
}
}
first = false;
}
}



Marilen wrote:
> Hello Ed, my idea is to get the text inside the annotation
>
> Example, if I have this annotation
>
> <xs:annotation>
> <xs:appinfo>Instancia</xs:appinfo>
> <xs:appinfo>Instancia 2 </xs:appinfo>
> <xs:documentation xml:lang="ca">Esquema de la
> Instancia</xs:documentation>
> </xs:annotation>
>
> How can I get the text "Instancia" and "Instancia 2"?
>
> I have tried with
> XSDAnnotation anotacio = (XSDAnnotation)iter.next();
> List appInfo = anotacio.getApplicationInformation();
> log.info(" appInfo" + appInfo.get(0));
>
> and I get this print:
>
> appInfo[xs:appinfo: null]
>
> It is possible to get the text inside <xs:appinfo>??
>
>


--------------070302030406030509040906
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Marilen,<br>
<br>
You must use standard DOM APIs to access the children of the appinfo
DOM Element.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to represent a sequence of element for complexTypes
Next Topic:XSD -> Html -> XML
Goto Forum:
  


Current Time: Fri Apr 19 21:19:12 GMT 2024

Powered by FUDForum. Page generated in 0.03481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top