Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-14-2004, 10:55 AM
Chudson Chudson is online now
Registered User
 
Join Date: 05-14-2004
Posts: 3
Import the *.bld into SQL XSD XML

I am trying to figure out an easy way to import the visual pro build files into a sql table so that I can run reports on which sites are being built etc.

I was looking at the sql xml but it requires an XSD in order to describe the columns.

Do you guys have one available, or know of any easier methods

Thanks in advance.

Chudson121@hotmail.com
Reply With Quote
  #2  
Old 05-14-2004, 11:30 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
We have not defined a schema for .bld files. The basic structure is pretty simple:

<?xml version='1.0'?>
<project version='5'>
<!-- optional comment-->
<comment>comment</comment>

<!-- 0 to n steps -->
<step action='Group' type='0'>
<name>Project steps</name>
<!-- more optional properties specific to action -->
</step>

<!-- 0 or more macros... -->
<macro>
<name>MacroName</name>
<value>the value</value>
</macro>

</project>

However, there can be any number of additional elements (one for each property) within a step element, and each action type has different properties/elements specific to that action type (macros can have a few additional optional elements as well). I'm not sure if SQLXML would accept a matching open-ended schema or not.

You may want to run your project file through an XSL transformation first to filter on the specific step actions + properties you're interested in, then define a schema for the output document and use those for importing into SQL Server.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:26 PM.


Copyright © 1999-2023 Kinook Software, Inc.