Subjects
Home
VOTE Move XML Commons to Xerces
Commented: (XERCESJ 589) Bug with pattern restriction on long strings
: Xerces J 2 8 1 Release on Wednesday, September 13th
: Xerces J 2 9 0 Release on Wednesday, November 22nd
Commented: (XERCESJ 1066) Restriction+choice+substitutionGroup error
Commented: (XERCESJ 1178) Error getting prefix for an attribute with no n
Updated: (XERCESJ 1244) XMLSchemaValidator does not contribute element 's
Some consideration about the xerces DOM implementation
Updated: (XERCESJ 1066) Restriction+choice+substitutionGroup error
Commented: (XERCESJ 1227) Poor performance / OutOfMemoryError for sequenc
retain exception stack traces
Updated: (XERCESJ 1193) NPE or hang when parsing using the "continue afte
Future of NekoHTML
Commented: (XERCESJ 1203) NPE in XMLDTDProcessor
DOM Level 3 APIs for Xalan J and a new Xalan release (2 7 1)
: xml commons external 1 3 04 Release on Wednesday, November 22nd
Commented: (XERCESJ 1247) Incorrect location information on SAX when usin
XInclude exceptions how to mirror Xerces J functionality into Xerces C++?
First proposal on SoC project "Add support for the StAX (JSR 173) cursor API
: xml commons resolver 1 2 Release on Wednesday, November 22nd
Typo in RangeToken java Please check
Validator features
java lang ClassCastException when adopting Node
using the org apache xerces impl xs identity package
Updated: (XERCESJ 1257) buffer overflow in UTF8Reader for characters out
Problem with ref attributes and schema validation
Updated: (XERCESJ 122) XMLSchemaValidator does not contribute element 's d
Performance problem under load Xerces with Weblogic 9 x
remove ignored memory allocation
Commented: (XERCESJ 1177) SAXXMLStreamReader doesn 't always report namesp
Commented: (XERCESJ 977) Null pointer exception during DOM parsing
Commented: (XERCESJ 1197) Code cleanup for org apache xml serialize
Commented: (XERCESJ 1201) Initial contribution for StAX Event API
Updated: (XERCESJ 1061) Regex "$ " and "^ " characters treated as special c
Commented: (XERCESJ 1199) SAXXMLStreamReader should attempt to register a
Commented: (XERCESJ 1061) Regex "$ " and "^ " characters treated as special
Updated: (XERCESJ 589) Bug with pattern restriction on long strings
StackOverflow
xerces Range unnecessarily not garbage collectable if not detached
Updated: (XERCESJ 1178) Error getting prefix for an attribute with no nam
Bug in xs:redefine
Commented: (XERCESJ 1204) Can not set XMLEntityResolver for LSParser
Updated: (XERCESJ 1253) Prototype for SoC2007 project "Add support for th
Updated: (XERCESJ 1259) Add SteamFilter Function to SoC2007 project "Add
Assigned: (XERCESJ 444) SAXException thrown by EntityResolver is reported
Google Summer of Code 2007
Xerces J and XInclude relative path issue
Assigned: (XERCESJ 206) Stack overflow when using a schema validation
Commented: (XERCESJ 1215) Restrictions involving two levels of substituti
Closed: (XERCESJ 1203) NPE in XMLDTDProcessor
non overriding equals methoda
Resolved: (XERCESJ 1079) invalid value returned for TOTALDIGITS facet in
Xerces AS3 port
Updated: (XERCESJ 325) Regular Expression; Pattern "| " clause order de
Updated: (XERCESJ 1196) Javadoc generation fails on Java SE 5 0
Closed: (XERCESJ 1202) DTD validation on XIncluded documents when the sch
Created: (XERCESJ 1124) Nonspecific schema error message
a bug in xerces
Updated: (XERCESJ 1201) Initial contribution for StAX Event API
Closed: (XERCESJ 1254) Empty uris in targetNamespace attribute not report
Links
Home
Oracle database error code
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
-- Editing XML

-- Editing XML

2003-09-17       - By Greg Hess
Reply:     1     2     3     4     5     6     7  

Hi All,

I am new to XML, XSLT, schema so please bear with me.

I have been assigned to build web application that needs to alter many
3rd party defined XML data structures. I would like to take a 3rd party
XML data structure and defined XSLT to create a HTML form for editing
the underling XML data structure. Only requiring basic input validation
maybe from a schema. When the form has been completed and submitted the
XML data structure would be recreated with the new input values. I need
to do this in a generic way so that the same application can process and
edit any defined XML data structure.

                                   XML --> HTML FORM --> XML

Can I do this?

Are there any tools out there that enable this?

Could a 3rd party define a XML data structure and XSLT that would create
a HTML form for editing the data structure?

Any comments/input is greatly appreciated, I have been assigned this
task and have no idea if it is possible or where to start.

Many Thanks,


Greg Hess

Software Engineer

Wrapped Apps Corporation

275 Michael Cowpland Dr.

Suite 201

Ottawa, Ontario

K2M 2G2

Tel: (613) 591 -7552

Fax: (613) 591-0523

1 (877) 388-6742

<http://www.wrappedapps.com/>


<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft
-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1=
"urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC
-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@(protected)">
<link rel=Edit-Time-Data href="cid:editdata.mso@(protected)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
 <o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
 <w:SpellingState>Clean</w:SpellingState>
 <w:GrammarState>Clean</w:GrammarState>
 <w:DocumentKind>DocumentEmail</w:DocumentKind>
 <w:EnvelopeVis/>
 <w:Compatibility>
  <w:BreakWrappedTables/>
  <w:SnapToGridInCell/>
  <w:WrapTextWithPunct/>
  <w:UseAsianBreakRules/>
 </w:Compatibility>
 <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@(protected)
  {font-family:Wingdings;
  panose-1:5 0 0 0 0 0 0 0 0 0;
  mso-font-charset:2;
  mso-generic-font-family:auto;
  mso-font-pitch:variable;
  mso-font-signature:0 268435456 0 0 -2147483648 0;}
@(protected)
  {font-family:Tahoma;
  panose-1:2 11 6 4 3 5 4 4 2 4;
  mso-font-charset:0;
  mso-generic-font-family:swiss;
  mso-font-pitch:variable;
  mso-font-signature:553679495 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
  {mso-style-parent:"";
  margin:0in;
  margin-bottom:.0001pt;
  mso-pagination:widow-orphan;
  font-size:12.0pt;
  font-family:"Times New Roman";
  mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
  {color:blue;
  text-decoration:underline;
  text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
  {color:purple;
  text-decoration:underline;
  text-underline:single;}
span.EmailStyle17
  {mso-style-type:personal-compose;
  mso-style-noshow:yes;
  mso-ansi-font-size:10.0pt;
  mso-bidi-font-size:10.0pt;
  font-family:Arial;
  mso-ascii-font-family:Arial;
  mso-hansi-font-family:Arial;
  mso-bidi-font-family:Arial;
  color:windowtext;}
span.SpellE
  {mso-style-name:"";
  mso-spl-e:yes;}
span.GramE
  {mso-style-name:"";
  mso-gram-e:yes;}
@(protected) Section1
  {size:8.5in 11.0in;
  margin:1.0in 1.25in 1.0in 1.25in;
  mso-header-margin:.5in;
  mso-footer-margin:.5in;
  mso-paper-source:0;}
div.Section1
  {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
  {mso-style-name:"Table Normal";
  mso-tstyle-rowband-size:0;
  mso-tstyle-colband-size:0;
  mso-style-noshow:yes;
  mso-style-parent:"";
  mso-padding-alt:0in 5.4pt 0in 5.4pt;
  mso-para-margin:0in;
  mso-para-margin-bottom:.0001pt;
  mso-pagination:widow-orphan;
  font-size:10.0pt;
  font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi All,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am new to XML, XSLT, <span class=GramE>schema</span> so
please bear with me.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have been assigned to build web application that needs to
alter many 3<sup>rd</sup> party defined XML data structures. I would like to
take a 3<sup>rd</sup> party XML data structure and defined XSLT to create a HTML
form for editing the underling XML data structure. <span class=GramE>Only
requiring basic input validation maybe from a schema.</span> When the form has
been completed and submitted the XML data structure would be recreated with the
new input values. I need to do this in a generic way so that the same
application can process and edit any defined XML data structure.<o:p></o:p><
/span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><span style='mso-tab-count:3'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; </span>XML
</span></font><font size=2 face=Wingdings><span style='font-size:10.0pt;
font-family:Wingdings;mso-ascii-font-family:Arial;mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;mso-char-type:symbol;mso-symbol-font-family
:Wingdings'><span
style='mso-char-type:symbol;mso-symbol-font-family:Wingdings'>&agrave;</span><
/span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> HTML FORM <
/span></font><font
size=2 face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings;
mso-ascii-font-family:Arial;mso-hansi-font-family:Arial;mso-bidi-font-family:
Arial;mso-char-type:symbol;mso-symbol-font-family:Wingdings'><span
style='mso-char-type:symbol;mso-symbol-font-family:Wingdings'>&agrave;</span><
/span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> XML<o:p></o
:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Can I do this?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Are there any tools out there that enable this?<o:p></o:p><
/span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Could a 3<sup>rd</sup> party define a XML data structure and
XSLT that would create a HTML form for editing the data structure?<o:p></o:p><
/span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Any comments/input is greatly <span class=GramE>appreciated,
</span>
I have been assigned this task and have no idea if it is possible or where to
start.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Many Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=25
style='width:18.75pt;border-collapse:collapse;mso-padding-alt:0in 0in 0in 0in'>
<tr height=16 style='mso-yfti-irow:0;height:12.0pt'>
 <td width="100%" height=16 style='width:100.0%;padding:0in 0in 0in 0in;
 height:12.0pt'>
 <p class=MsoNormal><st1:PersonName><font size=2 color=navy face=Tahoma><span
  style='font-size:10.0pt;font-family:Tahoma;color:navy;mso-no-proof:yes'>Greg
  Hess</span></font></st1:PersonName><span style='mso-no-proof:yes'><o:p></o:p
></span></p>
 </st1:PersonName></td>
</tr>
<tr height=16 style='mso-yfti-irow:1;height:12.0pt'>
 <td width="100%" height=16 style='width:100.0%;padding:0in 0in 0in 0in;
 height:12.0pt'>
 <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><font size=2
 color=navy face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
 color:navy;font-weight:bold;mso-bidi-font-weight:normal;mso-no-proof:yes'
>Software
 Engineer</span></font></b><span style='mso-no-proof:yes'><o:p></o:p></span><
/p>
 </td>
</tr>
<tr height=16 style='mso-yfti-irow:2;height:12.0pt'>
 <td width="100%" height=16 style='width:100.0%;padding:0in 0in 0in 0in;
 height:12.0pt'>
 <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><font size=2
 color=navy face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
 color:navy;font-weight:bold;mso-bidi-font-weight:normal;mso-no-proof:yes'
>Wrapped
 Apps Corporation<o:p></o:p></span></font></b></p>
 </td>
</tr>
<tr height=19 style='mso-yfti-irow:3;height:14.25pt'>
 <td width="100%" height=19 style='width:100.0%;padding:0in 0in 0in 0in;
 height:14.25pt'><st1:Street><st1:address style="BACKGROUND-POSITION: left
bottom; BACKGROUND-IMAGE: url('res://ietag.dll/#34/#1001'); BACKGROUND-REPEAT:
repeat-x">
 <p class=MsoNormal><st1:Street><st1:address><font size=2 color=navy
   face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:navy;
   mso-no-proof:yes'>275 Michael Cowpland Dr</span></font></st1:address></st1
:Street><font
 color=navy><span style='mso-bidi-font-family:Tahoma;color:navy;mso-no-proof:
 yes'></st1:address></st1:Street>.<o:p></o:p></span></font></p>
 </td>
</tr>
<tr height=19 style='mso-yfti-irow:4;height:14.25pt'>
 <td width="100%" height=19 style='width:100.0%;padding:0in 0in 0in 0in;
 height:14.25pt'><st1:address style="BACKGROUND-POSITION: left bottom;
BACKGROUND-IMAGE: url('res://ietag.dll/#34/#1001'); BACKGROUND-REPEAT: repeat-x
"><st1:Street>
 <p class=MsoNormal><st1:address><st1:Street><font size=2 color=navy
   face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:navy;
   mso-no-proof:yes'>Suite</span></font></st1:Street><font color=navy><span
  style='mso-bidi-font-family:Tahoma;color:navy;mso-no-proof:yes'></st1:Street>
  201</span></font></st1:address><font color=navy><span style='mso-bidi-font
-family:
 Tahoma;color:navy;mso-no-proof:yes'><o:p></o:p></span></font></p>
 </st1:address></td>
</tr>
<tr height=19 style='mso-yfti-irow:5;height:14.25pt'>
 <td width="100%" height=19 style='width:100.0%;padding:0in 0in 0in 0in;
 height:14.25pt'><st1:place><st1:City>
 <p class=MsoNormal><st1:place><st1:City><font size=2 color=navy face=Tahoma>
<span
   style='font-size:10.0pt;font-family:Tahoma;color:navy;mso-no-proof:yes'
>Ottawa</span></font></st1:City><font
  color=navy><span style='mso-bidi-font-family:Tahoma;color:navy;mso-no-proof:
  yes'></st1:City>, </span></font><st1:State><font color=navy><span
   style='mso-bidi-font-family:Tahoma;color:navy;mso-no-proof:yes'><st1:State
>Ontario</span></font></st1:State></st1:place><span
 style='mso-no-proof:yes'><o:p></o:p></span></p>
 </st1:State></st1:place></td>
</tr>
<tr height=16 style='mso-yfti-irow:6;height:12.0pt'>
 <td width="100%" height=16 style='width:100.0%;padding:0in 0in 0in 0in;
 height:12.0pt'>
 <p class=MsoNormal><font size=2 color=navy face=Tahoma><span
 style='font-size:10.0pt;font-family:Tahoma;color:navy;mso-no-proof:yes'>K2M
 2G2<o:p></o:p></span></font></p>
 </td>
</tr>
<tr height=16 style='mso-yfti-irow:7;height:12.0pt'>
 <td width="100%" height=16 style='width:100.0%;padding:0in 0in 0in 0in;
 height:12.0pt'>
 <p class=MsoNormal><font size=2 color=navy face=Tahoma><span
 style='font-size:10.0pt;font-family:Tahoma;color:navy;mso-no-proof:yes'>Tel:
 (613) 591 -7552<o:p></o:p></span></font></p>
 </td>
</tr>
<tr height=16 style='mso-yfti-irow:8;height:12.0pt'>
 <td width="100%" height=16 style='width:100.0%;padding:0in 0in 0in 0in;
 height:12.0pt'>
 <p class=MsoNormal><font size=2 color=navy face=Tahoma><span
 style='font-size:10.0pt;font-family:Tahoma;color:navy;mso-no-proof:yes'>Fax:
 (613) 591-0523<o:p></o:p></span></font></p>
 </td>
</tr>
<tr height=1 style='mso-yfti-irow:9;height:.75pt'>
 <td width="100%" height=1 style='width:100.0%;padding:0in 0in 0in 0in;
 height:.75pt'>
 <p class=MsoNormal style='mso-line-height-alt:.75pt'><font size=2 color=navy
 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:navy;
 mso-no-proof:yes'>1 (877) 388-6742<o:p></o:p></span></font></p>
 </td>
</tr>
<tr height=81 style='mso-yfti-irow:10;mso-yfti-lastrow:yes;height:60.75pt'>
 <td width="100%" height=81 style='width:100.0%;padding:0in 0in 0in 0in;
 height:60.75pt'>
 <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><font size=2
 color=blue face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
 color:blue;font-weight:bold;mso-bidi-font-weight:normal;mso-no-proof:yes'><a
 href="http://www.wrappedapps.com/"><span style='text-decoration:none;
 text-underline:none'><img border=0 width=190 height=69 id="_x0000_i1025"
 src="cid:image001.gif@(protected)"></span></a></span></font></b><span
 style='mso-no-proof:yes'><o:p></o:p></span></p>
 </td>
</tr>
</table>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>