Is site STE file DTD or XSD available?
Dreamweaver enables you to export your site definition into a
special file with a .ste extension. You can then share your site
definition with other developers by allowing them to import the
.ste file to recreate the site on their machines.
Do you know where the DTD or XSD specification for how the
.ste file is structured?
The *.ste file is only meaningful to DW. But you can open one
and look at
its structure. It's a bog-standard XML file....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"losWebFXs" <[email protected]> wrote in
message
news:gcfrbq$jnq$[email protected]..
> Dreamweaver enables you to export your site definition
into a special file
> with
> a .ste extension. You can then share your site
definition with other
> developers
> by allowing them to import the .ste file to recreate the
site on their
> machines.
>
> Do you know where the DTD or XSD specification for how
the .ste file is
> structured?
>
Similar Messages
-
File Adapter - Native XSD - DTD to XSD
Hello,
a. I have to read a data file using file adapters, which is sent in the following pattern (dtd below):
<?xml version="1.0" encoding="US_ASCII"?>
<!DOCTYPE message SYSTEM "d3l.dtd">
<message name="ITEM" type="ItemArray" object="ITEM_BO">
<struct id="ItemRecord">
<field name="Process_Flag"><limstring delimiter=";"/></field>
<field name="Item_Number"><limstring delimiter="|"/></field>
<field name="Attribute2"><limstring delimiter="|"/></field>
</struct>
<limarray id="itarray" contchar="*" endchar="!">
<typeref type="ItemRecord"/>
</limarray>
<struct id="ItemArray">
<field name="ItemLine"><typeref type="itarray"/></field>
</struct>
</message>
b. whose sample data is as below:
;P;|00030||TEST1|*;P;|00040||TEST2|!
c. I am now in the process of designing my native xsd:
i. I can either use convert dtd to xsd (or)
ii. create my own sample schema definition which is similar to the above data structure
In step (i), I could not convert the dtd to xsd, due to reference to d3l.dtd file.
If anyone can advise where this d3l.dtd file can be found and where I should place it in 'SOA' it would be really helpful.
In step (ii), I find that through the wizard I am able to create simple csv file styles, but not able to create the above data structure due to different delimiters (; and |) and also due to delimiter-embedding of data.
It would be really helpful if someone can advise on how I must proceed with this issue.
Thanks,
SanthoshHello Ramana,
As for step one, the 'd3l.dtd' is a file which all Oracle Interconnect DTDs look up to. I am not able to locate it.
As for step two, the data file the structure is of the following pattern :
i. entire data is in single line of the data file..
ii. first element will be embedded with semi colon
iii. the other elements inside pipes
iv. end of record is indicated using *
v. end of file is indicated using !
These are the rules based on which the data file is built.
I don't have much experience in creating xsd (except for simple native xsds that I have created using the native xsd wizard of Jdev-BPEL).
Using the native XSD wizard that is available with JDev-BPEL, I trust I cannot create complex data structure which is of the above pattern.
If there is a good tool/method through which I can create the xsd as per the above listed rule structure, please advise.
Thanks,
Santhosh -
Converting XML file to DTD or XSD file
Hi everyone,
We're currently doing an IDOC to File. The file should be in XML format. Right now, we have a sample XML file. We need to convert the file to DTD or XSD and then upload this in XI to be able to get it structure. We've tried different conversion tools to do this, however, the converted DTD/XSD file still has errors when we load it to XI. What we're thinking is to create a data type to achieve this. These are some of the fields in the file.
<messageHeader creationDate>
<catellae:gTTSDataDelivery creationDate="X" (...)>
*/<catellae:( )>/<txnId>
*/<catellae:( )>/<items>/<item>/<quantity>
*/<catellae:( )>/<items>/<item>/<unitOfMea>
*/<catellae:( )>/<items>/<item>/<prodDesc>/<matType>
*/<catellae:( )>/<shipToAddress>/<nameAndAddress>/<city>
*/<catellae:( )>/<shipToAddress>/<contactInformation>/<communicationChannel ( )
It seems that there are more than 3 nodes. And in XI, only three nodes are allowed. Could you tell us how should we create the data type for this? Thanks in advance!Hi Mariel,
Refer to the below link for conversion of XML to Xsd using Altova XML Spy.
Re: data type for xml file
For altova free trial Download:
http://www.altova.com/download.html
Please let me know if u need furthur information.
Thanks,
Bhargav.
Note:Award points if found useful -
External dependency on remote dtd and xsd files
The question bugs me for years, please help.
Should we download external dtd and xsd files declared for web.xml and faces-config.xml and pack them in the war files to eliminate the external dependency.
e.g.
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
http://java.sun.com/dtd/web-facesconfig_1_0.dtd
ThanksHi Srikanth,
Have you done this?
SAP HELP
<i>You want to import an XSD document myMessage to the Integration Repository; this document references three other XSD documents myStr1, myStr2, and myStr3 by using the <include> statement. One option is to first import myMessage. The External References tab page then shows that three documents are referenced and that these documents are not yet in the Integration Repository. Next, create further external definitions for myStr1, myStr2, and myStr3 in the same namespace and specify the source for each of these documents. If the source is not contained in the document itself, you will find it in the referencing document. If you refresh the display of the external definition for myMessage, the External References tab page shows that the documents have been found in the Integration Repository. You can then navigate to the other referenced external definitions in the Integration Repository by double clicking.</i>
Also, try activating just in case you haven't.
Regards
Vijaya -
DTD and XSD Validation for xml file
hi kindly reply to this mail guru'ssss
i am facing a problem in parising a xml file against dtd and xsd.
i have the dtd which contains only enitities that can be present in the xml file and the xsd file for validation against elements and attribute.
when DTD is present then it is throwing errors like the elements should be declared.
when i take out the doctype line and validate against schema its throwing the error that particular entity is not found or declared.
public Vector validateSchema(String SchemaUrl, String XmlDocumentUrl)
SAXParser parser =new SAXParser();
try{
//parser.setNamespaceAware (true);
//parser.s
parser.setFeature("http://xml.org/sax/features/validation",true);
parser.setFeature("http://apache.org/xml/features/validation/schema",true);
parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);
// parser.setProperty("http://xml.org/sax/properties/declaration-handler", new DTDHandl());
parser.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",SchemaUrl);
// parser.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
// System.out.println(parser.getDTDHandler());
// UnparsedCache cache = new UnparsedCache();
// parser.setDTDHandler(cache);
InputSource inputSource =new InputSource(new java.io.FileInputStream(new java.io.File(XmlDocumentUrl)));
// parser.setDTDHandler(new myDTDHandler());
//parser.setEntityResolver(new CustomResolver());
// parser.setContentHandler(this);
Validator handler=new Validator();
parser.setErrorHandler(handler);
parser.parse(inputSource);
if(handler.validationError==true)
System.out.println("XML Document is not valid");
else
System.out.println("XML Document is valid");
for(int i=0;i<ErrorLines.size();i++){
System.out.println(ErrorLines.elementAt(i));
}catch(java.io.IOException ioe){
System.out.println("IOException"+ioe.getMessage());
}catch (SAXParseException e) {
System.out.println("SAXParseException "+e.getMessage());
}catch (SAXException e) {
System.out.println("SAXException"+e.getMessage());
return ErrorLines;
what could be soln to this.Hi
Venky_Ferrari.
Based on your description, your case related to XMLXSD, SO I will move your thread to
Data Platform Development > XML, System.Xml, MSXML and XmlLite
forum for better support.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Site definition files? anyone?
OK so I am new to website creation, so please cut me some
slack. Using Dreamweaver CS3 on a Mac, in the manage sites window,
none of the sites I created with Dreamweaver 8 are shown, yet they
all reside in a local sites folder in my documents folder. When I
choose the import function, it asks for the location of my site
definition files (ste) but none are visible anywhere on my system.
How do I import/recognise my previously built sites in Dreamweaver
CS3? Totally confused here...The sites *should* have been migrated when you installed CS3,
but you can
always go back into DW8, EXPORT the sites, then IMPORT them
into CS3.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Tik-Tok Man" <[email protected]> wrote in
message
news:fd4vjq$ddf$[email protected]..
> OK so I am new to website creation, so please cut me
some slack. Using
> Dreamweaver CS3 on a Mac, in the manage sites window,
none of the sites I
> created with Dreamweaver 8 are shown, yet they all
reside in a local sites
> folder in my documents folder. When I choose the import
function, it asks
> for
> the location of my site definition files (ste) but none
are visible
> anywhere on
> my system. How do I import/recognise my previously built
sites in
> Dreamweaver
> CS3? Totally confused here...
> -
Migration Woes of DW .ste Files To New Computer
I having having problems importing DW CS3 .ste files to a new computer. I transferred all my websites files over to the new computer using the same file/folder structure as the old one. I also Exported all the .ste files via DW's Site > Manage Sites into a folder on my old desktop which I then copied over to the desktop of the new computer. And, I successfully installed DW on the new computer.
However, when I try to Import any of .ste files via DW Site > Manage Sites (menu is empty at this point in time), I am prompted to "choose local root folder for site (name here)". This last ("choose") step is not mentioned in the online DW help. And, no matter what folder I choose (I've tried many, many ways), in the Manage Sites menu I have one site identified but the content in the Files Panel is just a list of all the .ste files, not that site's files and folders as I was exptecting. Very confusing and frustrating.
Any suggestions on how I can resolve this problem would be greatly appreciated. Thanks in advance.If you are using a Windows 7 machine (or perhaps it will also work in Vista) Try this:
Make sure that your site files exist on your computer in the correct location - for instance Inetpub/wwwroot/yoursitename/
Make sure that you have an image file in the folder.
In Dreamweaver, open sites/manage sites/import
Navigate to the ste file.
When asked for a local site folder, navigate to the folder and open it.
Select any folder within it (notes is fine) and click open.
When asked for an images folder, click on the images folder and open it.
Click on any folder within it (notes is fine) and click open.
This should then set up the site. Exit the file manager and you should be shown a list of files for your site.
I have just done this in the last few minutes with no problem.
If you do not select a folder within your site (rather than the site folder) you will not get the correct location. Its a windows 7 thing, not a Dreamweaver problem. -
Hi
My PC recently crashed and I have had to restore DW 8,
however when I open DW the list of sites has disappeared.
I had previously exported all the site information using the
Backup/Export process and I can import the STE files but it has
been a while since I have done that and some of the newer sites
aren't included.
Within DW is there a configuration file that keeps a list of
the sites and login details etc, ie when you click on Manage Sites
it lists all the current sites? As ideally I would like to restore
those files from a previous tape backup ratehr than sit down and
recreate them again.
Kind regards
StevenIf you do not have recent site definition exports you will
have to recreate
those site definitions manually. Sorry....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Trefoil" <[email protected]> wrote in
message
news:e6u4cn$78f$[email protected]..
> Hi
>
> My PC recently crashed and I have had to restore DW 8,
however when I open
> DW
> the list of sites has disappeared.
>
> I had previously exported all the site information using
the Backup/Export
> process and I can import the STE files but it has been a
while since I
> have
> done that and some of the newer sites aren't included.
>
> Within DW is there a configuration file that keeps a
list of the sites and
> login details etc, ie when you click on Manage Sites it
lists all the
> current
> sites? As ideally I would like to restore those files
from a previous tape
> backup ratehr than sit down and recreate them again.
>
> Kind regards
>
> Steven
> -
Location of .ste files on Mac OSX 10.5.6
I replaced my hard drive, and had some isses with the way my Adobe apps loaded. I cleaned out the Web Premium CS3 files and reloaded CS3.
I have backup files of my startup volume, but don't know where to look for the SITE DEFINITION FILES (.ste).
I have all of the SiteCache files which were separately protected and saved on an auxiliary drive, but I have been trying to recreate my SITE MANAGEMENT PROFILES for two days now, without success.
Any help would be appreciated.
Thank you,
Vincent Ferri
DesignWorks/VINCE FERRI DESIGNYou can't do that. You either need to Import the sites from the .ste files that you originally exported, or if you didn't export the .ste files, you need to replace the Site Prefs file on your new installation with the one recovered from the hard disk backup.
If you didn't create .ste files yourself and don't have a backup of the Site Prefs file, you need to redefine all the sites manually. -
Hi Guys, i know im a idiot but i formatted my pc recently, now what i forgot to do was to export the site im working on as a .ste file,
although i still have all the files and folders and i can point to the root folder if i must define a new site on my new dreamweaver,
but im not sure how to get the server behaviours and database connections back (i have a user registration on the site). is there any other way than doing it all over again?Could it be that my hosts doesnt support this?
If you are trying to access the remote MySQL server, yes. Some hosts will only allow access from the IP address corresponding to the hosted site. You would be trying to access it from a different IP address and it would fail. In theory, if you are not using any database access, then you should be able to use the remote site also as a testing server with the added overhead of keeping the FTP connection open and uploading files during the testing. I would rather test locally than do that. -
CS3 .ste files won't import into CS5
I recently upgraded from CS3 <on XP> to CS5 <on Mac Snow Leopard.> I expected a learning curve, but I also expect that software works as specified.
My CS3 site definition files won't import. I followed the instructions in DW help to the letter:
Manage Sites---> Import--->browsed to .ste files, selected Choose, and nothing happens. The sites don't show up in the list in the Manage Sites dialog box. ARE THERE MISSING INSTRUCTIONS? IS THERE A PLUG-IN MISSING?
After I've tried to import them, the .ste files are then 'greyed out' from the list of files. It doesn't matter what source the .ste files come from: jumpdrive, email, etc.
Note: This is a new, fresh & clean Snow Leopard install, and my files were transfered at the Apple Store. The CS5 install was just last week as well.
I have client sites to update. Please help!Yes, I did export the .ste files from XP/CS3. I saved them to a jumpdrive, and also emailed them to my Macbook. I know some people don't read or follow instructions before they ask for help, but that's not the case.
This seems to be a CS5 issue in Mac Snow Leopard. Important note; I was able to import the .ste files to an XP machine running a demo version of CS5. I've moved site files before with CS, CS2, and CS3, on XP. Never had an issue with those flavors or that OS.
On my Mac, after I attempt to import the .ste files, they become 'greyed out'. All other file types (.html, etc.) also appear 'greyed out'. It seems like there's a missing step in the instructions?
Update: I right-clicked the .ste files in my Downloads file, and chose 'Open with Dreamweaver'. THEN they imported successfully, and prompted me to choose the root folders. (If nobody answers the front door, knock on the back door!)
Thanks to all for your suggestions, but I think the problem is behind me. Long live the right click! -
Import .ste files from DW CS 4 to DW CC?
When I try import .ste files from DW CS 4 to DW CC I get an error that says "this is not a valid site definition file. Cannot import."
I’m switching from a macPro running OSX 10.8 to a new macBoookPro running Mavericks. I have about 60 sites. Doing this manually will be a real test of my tolerance for tediousness.
Is it really my only choice?
Thank you,
Mark
mobile: 415-810-6368 -
Dreamweaver CS6 will not recognize existing site definition files
Neither does CC, naturally. These are sites I haven't edited for about a year. I can't find any information about reloading sites by importing the contents, only by opening the STE files... which in this case, won't open.
Are you attempting to simply open the .ste, or are you going to Site > Manage Sites > Import?
If you are tring to import them correctly (second option above) and they aren't importing, the .ste files may be corrupt. To create new site definitions from your existing content...
1. Go to Site > New Site
2. For the "Local Site Folder" browse to one of your current site folders on your HD
3. Add a server and FTP credentials obtained from your hosting company (if you don't have them)
4. Save
5. Repeat for each site
EDIT: If you don't have the site's files locally, do the same as above (setting the local site folder to an empty folder on your HD) and, once you add the FTP info, click the Get button (down arrow) in the Files window to download your entire site onto your machine. -
Create a Site Definition file with Visual Web part in Visual Studio
I tried to create a site definition file in Visual Studio 2013 and SharePoint 2013 by following the MSDN tutorial:
Walkthrough: Create a Basic Site Definition Project. Near the end, I added a virtual web part control to the site definition and registered MyWebPartControls in the site definition's default ASPX page as written in the MSDN tutorial:
Unfortunately, IntelliSense doesn't show any MyWebPartControls: tags, and VisualWebPart1 is highlighted with a warning “Element 'SMWebPart3' is not a known element. This can
occur if there is a compilation error in the Web site, or the web.config file is missing.”
Since it’s a warning, I went ahead to build and deploy the solution. However, when I used the site definition template to create a subsite, it returned a parser error:
Unknown server tag 'MyWebPartControls:TestSiteDef1.VisualWebPart1'
I spent half day researching and debugging, and finally solved the problem. The issue is on the registration line:
<%@ Register Tagprefix="MyWebPartControls" Namespace="TestSiteDef.VisualWebPart1" Assembly="$SharePoint.Project.AssemblyFullName$" %>
The $SharePoint.Project.AssemblyFullName$ is a replaceable parameter to provide values for SharePoint solution items whose actual values are not known at design time. Unfortunately, it does not find the right assembly name during the deployment. It should
be replaced by the Assembly’s Strong Name. Here is how I fixed the problem step by step:
In Solution Explorer, open the package node and double click Package.package
Click Manifest tab in the Package.package.
Copy the full assembly name in the package’s manifest. It may be similar like this:
Assembly="TestSiteDef,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
Back to the site definition’s default.aspx page, replace the
Assembly="$SharePoint.Project.AssemblyFullName"
in the registration line with the copied text:
Assembly="TestSiteDef,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
Change the Namespace from
Namespace="TestSiteDef.VisualWebPart1"
to
Namespace="TestSiteDef".
The line to register the web part in a site definition file will look like this:
<%@
Register
Tagprefix="MyWebPartControls"
Namespace="TestSiteDef "
Assembly="TestSiteDef, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
%>
Clean, build and deploy the solution. It works like charm. (Note: the warning message on visual web part may still exist, but you can ignore it).Assuming your .ascx.vb file is inheriting from the web part class, you can add the custom properties in the same manor (language syntax aside).
Be sure to use the attributes to correctly identify and scope the properties. (see:
http://www.sbrickey.com/Tech/Blog/Post/SharePoint_Attributes_for_Web_Part_properties)
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com -
Unable to load Site Control File
Hello,
The background :
I am in the process of learning how to create a Management Pack for a distributed application in SCOM 2012 R2.</p><p>For this, I picked our SCCM Site server to use as an example. So, in short, am writing a management pack for SCCM 2007 Discovery.
I know a management pack might already exist. I am trying to learn by using an architecture I'm familiar with so I need to create this from scratch.
In order to discover SCCM Site installed on a server, I decided to use the SMS WMI namespace. By reading the
SMS_ProviderLocation Instance, I am able to detect if the server has SCCM Site installed on it.
My next step was to find out where the SMS database is hosted. I found
ROOT\SMS\site_ABC\ namespace contains an instance of SMS_SCI_SiteDefinition where I can find the database name and server name which I can use to discover the other components of a distributed application.
The problem :
When I run the query Select * from SMS_SCI_SiteDefinition I get a generic error 0x80041001.
More Information reveals the following:
error description : " Unable to load site control file "
error code : " 2160198400 (0x80c20300) "
file name : " c:\qfe\nts_sms_fre\sms\siteserver\sdk_provider\smsprov\sspsitecontrolextractor.cpp "
Now, I cannot find the QFE folder anywhere. The SCCM Site is working fine and the site_control_manager component has no errors. I can launch the SCCM console on that server without any errors and the site status messages do not contain any errors.
Can someone please help me out with "detecting" an installed instance of SCCM site server using WMI? Is the above error cause for worry for the SCCM part of my brain?
Thanks in advance for your guidance!Thanks for your response Don!
The SMS_Site instance does not provide information of the database server and database name.
The funny thing is when I browse use wbemtest to connect to root\SMS\site_XXX and enumerate classes, i do not find
the SMS_SCI_SiteDefinition.
I find it when i enumerate recursively and can browse into the values. I'm not sure how could build a query against this now.
Can anybody with a test instance of SCCM 2007 check this and let me know please?
Everything you are looking for exist within WMI. You can use the documentation script as an example to get what you are looking for.
http://www.enhansoft.com/pages/downloads.aspx
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ
Maybe you are looking for
-
Hi team, Kindly assist to chcek if my SN : C3*******RC9 is qualifies for iPhone 5 Sleep/Wake Button Replacement Program as unable to check in your website ; eror : We're sorry, there was a problem processing your request. Please try again in a few mi
-
Issue while parsing the chinese character from Mime Message
Hi, I have a issue with the chinese characters while parsing the mime message (MimeBodypart). In the MimeMessage charset is mentioned as "gb2312". i am using the MimeBodyPart.getContent() to get the content. When mimetype is html, it will be uploaded
-
Tab Delimited Text File to be Emailed (External Email ID) from SAP
Hi, I have a requirement to email a tab delimited text file as an attachment to external email id from SAP. The text file is of line with type string and the length of each line is about 1024 char size. Can you please suggest me a suitable solution t
-
Using Map Builder to view Spatial data
Is anyone using XE for Spatial/Locator work? I have created a schema in XE from a spatial dmp file. I know the dmp file creates a valid schema as we use it all the time for testing. After import, I can't view any spatial layers using Oracle's Map Bui
-
W4 status for Fed Taxlevy in Garnishment
Hello All, I have a question regarding Fed Taxlevy in table T5UGE. Does SAP validate against infotype 210 for w4 status ? Appreciate your help. Thanks.